package com.kaoshi.myweb.webtest.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.kaoshi.myweb.webtest.entity.UserModel;
import com.kaoshi.myweb.webtest.respository.UserRepository;

@Component
public class UserService {
	
	@Autowired
	private UserRepository userRepository;
	
	public void testAdd(UserModel userModel){
		userRepository.save(userModel);
	}
}
